import Vue from 'vue';

import Vuex from 'vuex';

import home from "@/store/home/home-store.js";
import search from "@/store/search/search-store.js";
import detail from "@/store/detail/detail-store";
import cart from "@/store/cart/cart-store";
import user from "@/store/user/user-store";
import trade from "@/store/trade/trade-store";
import pay from "@/store/pay/pay-store";
import center from "@/store/center/center-store";

Vue.use(Vuex);

export default new Vuex.Store({
  modules: {
    home,
    search,
    detail,
    cart,
    user,
    trade,
    pay,
    center
  }
});



